package com.tct.smartRE.fwk.domain;

public class ItemCode extends BusinessObject {

	public static final String Country = "Country";
	public static final String State = "State";
	public static final String ParkingType = "ParkingType";
	public static final String LaundryType = "LaundryType";
	public static final String RangeType = "RangeType";
	public static final String HeatType = "HeatType";

	private String type;
	private String code;
	private String name;

	public ItemCode() {
	}

	/**
	 * @param code
	 *            the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	@Override
	public String toString() {
		return getName();
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getType() {
		return type;
	}
}
